package cn.tedu.straw.portal.vo;

import cn.tedu.straw.portal.model.Permission;
import lombok.Data;

import java.util.List;

@Data
public class UserLoginVO {
    private Integer id;
    private String username;
    private String nickname;
    private String password;
    private String phone;
    private Integer isEnabled;
    private Integer isLocked;
    private Integer accountType;
    private List<Permission> permissions;
    //UserLoginVO:
    // UserLoginVO(
    // id=3, username=mike, nickname=null, password=123456,
    // phone=13800001111, isEnabled=null, isLocked=null, accountType=null,
    // permissions=[
    // Permission( authority=/web/index),
    // Permission( authority=/question/post),
    // Permission( authority=/question/upload),
    // Permission( authority=/question/detail),
    // Permission( authority=/answer/post),
    // Permission( authority=/comment/post)
    // ])
}
